from django.shortcuts import render
from django.http import HttpResponse
def index(request):
    return render(request,'index.html')
def book(request):
    return HttpResponse("读书首页")
def book_d(request,book_id):
    id = "书的id是:{}".format(book_id)
    return HttpResponse(id)
def gowu(request):
    return HttpResponse("购物首页")